<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:82:"D:\Code\matian\matian\application\admin\view\bootstrap\game_gift_package\form.html";i:1497112021;}*/ ?>
<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-lg-10">
        <h2>游戏礼包</h2>
        <ol class="breadcrumb">
            <li>
                <a href="#">首页</a>
            </li>
            <li>
                <a href="#<?php echo U('GameGiftPackage/'); ?>">游戏礼包</a>
            </li>
            <li class="active">
                <strong><?php echo !empty($isEdit)?'修改':'添加'; ?>游戏礼包</strong>
            </li>
        </ol>
    </div>
</div>

<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <div>
                        <button class="btn btn-link" type="button" onclick="history.back()">
                            <span class="fa fa-angle-left"></span>
                            返回
                        </button>
                    </div>
                    <form method="post" class="form-horizontal" id="form1">
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">游戏礼包名称</label>
                            <div class="col-sm-10">
                                                                <input value="<?php echo $m['gift_package_name']; ?>" placeholder="游戏礼包名称" name="gift_package_name" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">领取开始时间</label>
                            <div class="col-sm-10">
                                                                <input value="<?php echo $m['gift_package_deadline']; ?>" placeholder="领取开始时间" name="gift_package_deadline" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">领取结束时间</label>
                            <div class="col-sm-10">
                                                                <input value="<?php echo $m['gift_package_start_time']; ?>" placeholder="领取结束时间" name="gift_package_start_time" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">礼包数量</label>
                            <div class="col-sm-10">
                                                                <input value="<?php echo $m['gift_package_num']; ?>" placeholder="礼包数量" name="gift_package_num" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">礼包内容</label>
                            <div class="col-sm-10">
                                                                <input value="<?php echo $m['gift_package_content']; ?>" placeholder="礼包内容" name="gift_package_content" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">礼包状态</label>
                            <div class="col-sm-10">
                                                                <input value="<?php echo $m['gift_package_status']; ?>" placeholder="礼包状态" name="gift_package_status" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">礼包图片</label>
                            <div class="col-sm-10">
                                                                <input value="<?php echo $m['gift_package_img']; ?>" placeholder="礼包图片" name="gift_package_img" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">领取方式</label>
                            <div class="col-sm-10">
                                                                <input value="<?php echo $m['get_way']; ?>" placeholder="领取方式" name="get_way" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">礼包序列号</label>
                            <div class="col-sm-10">
                                                                <input value="<?php echo $m['get_serial_number']; ?>" placeholder="礼包序列号" name="get_serial_number" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">充值开始时间</label>
                            <div class="col-sm-10">
                                                                <input value="<?php echo $m['recharge_start_time']; ?>" placeholder="充值开始时间" name="recharge_start_time" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">充值结束时间</label>
                            <div class="col-sm-10">
                                                                <input value="<?php echo $m['recharge_start_end']; ?>" placeholder="充值结束时间" name="recharge_start_end" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">期间充值金额</label>
                            <div class="col-sm-10">
                                                                <input value="<?php echo $m['vaild_recharge_amount']; ?>" placeholder="期间充值金额" name="vaild_recharge_amount" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">领取范围描述</label>
                            <div class="col-sm-10">
                                                                <input value="<?php echo $m['package_get_discrible']; ?>" placeholder="领取范围描述" name="package_get_discrible" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">游戏id</label>
                            <div class="col-sm-10">
                                                                <input value="<?php echo $m['game_id']; ?>" placeholder="游戏id" name="game_id" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">企业id</label>
                            <div class="col-sm-10">
                                                                <input value="<?php echo $m['enterprise_id']; ?>" placeholder="企业id" name="enterprise_id" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <div class="col-sm-4 col-sm-offset-2">
                                <!--<button class="btn btn-white" data-op="reset" type="button">重 置</button>-->
                                <!--&nbsp;-->
                                <!--&nbsp;-->
                                <button data-style="expand-left" class="btn btn-primary ladda-button" type="button"
                                        data-op="submit">确 定
                                </button>
                            </div>
                        </div>
                        <div>
                            <button class="btn btn-link" data-op="back" type="button">
                                <span class="fa fa-angle-left"></span>
                                返回
                            </button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    YForm.create('#form1', "<?php echo U('saveModel'); ?>",'<?php echo $m['id']; ?>');
</script>